﻿using UnityEngine;
using UnityEngine.U2D;
using Zenject;

[CreateAssetMenu(fileName = "GameResourceConfig", menuName = "Config/GameResourceConfig")]
public class GameResourceConfig : ScriptableObjectInstaller<GameResourceConfig>
{
    [SerializeField] private SpriteAtlas difficultyIcons;
    [SerializeField] private GameObject coinPrefab;
    [SerializeField] private GameObject enemy1Prefab;
    [SerializeField] private Sprite map;

    public override void InstallBindings()
    {
        Container.BindInstance(difficultyIcons);
        Container.BindInstance(coinPrefab).WithId("coinPrefab");
        Container.BindInstance(enemy1Prefab).WithId("enemy1Prefab");
        Container.BindInstance(map);
    }
}